<script setup>
import CircleView from '@/components/echarts/CircleView.vue'
import EnvironmentalList from '@/components/echarts/EnvironmentalList.vue'
import CountView from '@/components/echarts/CountView.vue'
import RadarChart from '@/components/echarts/RadarChart.vue'
import BarChart from '@/components/echarts/BarChart.vue'
import MapChart from '@/components/echarts/MapChart.vue'
</script>

<template>
  <div class="main-div">
    <div class="sub-div1">
      <div class="third-div">
        <dv-border-box-10>
          <circle-view></circle-view>
        </dv-border-box-10>
      </div>
      <div class="third-div">
        <dv-border-box-10>
          <bar-chart></bar-chart>
        </dv-border-box-10>
      </div>
    </div>
    <div class="sub-div2">
      <div class="third-div1">
        <dv-border-box-13>
          <count-view></count-view>
        </dv-border-box-13>
      </div>
      <div class="third-div2">
        <dv-border-box-8>
          <map-chart></map-chart>
        </dv-border-box-8>
      </div>
    </div>
    <div class="sub-div3">
      <div class="third-div4">
        <dv-border-box-10>
          <environmental-list></environmental-list>
        </dv-border-box-10>
      </div>
      <div class="third-div5">
        <dv-border-box-10>
          <RadarChart />
        </dv-border-box-10>
      </div>
    </div>
  </div>
</template>

<style scoped lang="scss">
.main-div {
  height: 97%;
  width: 100%;
  margin-top: 15px;
  display: flex;
  color: white;
  .sub-div1 {
    //width: 33%;
    height: 100%;
    flex: 3;
    margin: 5px;
    display: flex;
    flex-direction: column;
    .third-div {
      width: 100%;
      flex: 3;
      margin: 5px;
    }
  }
  .sub-div2 {
    //width: 33%;
    height: 100%;
    flex: 7;
    display: flex;
    flex-direction: column;
    margin-left: 10px;
    margin-right: 5px;
    .third-div1 {
      width: 100%;
      flex: 2;
      margin-bottom: 5px;
    }
    .third-div2 {
      width: 100%;
      flex: 8;
    }
  }
  .sub-div3 {
    //width: 33%;
    height: 100%;
    flex: 3;
    margin: 5px;
    display: flex;
    flex-direction: column;
    .third-div4 {
      width: 100%;
      height: 100%;
      flex: 10;
      margin: 5px;
    }
    .third-div5 {
      width: 100%;
      flex: 6;
      margin: 5px;
    }
  }
}
</style>
